.uploader {
    &-image,
    &-file {
        .upload {
            position: relative;
            text-align: center;
            &-image {
                position: relative;
                overflow: hidden;
                &__progress {
                    position: absolute;
                    top: 0;
                    right: 0;
                    left: 0;
                    opacity: .9;
                }
            }
        }
        ::v-deep .el-upload {
            cursor: pointer;
            position: relative;
            overflow: hidden;
            width: 100% !important;
            height: 100% !important;

            &:hover {
                border-color: $--color-primary;
            }

            &-dragger {
                padding: 20px;
                width: 100% !important;
                height: 100% !important;
                border-width: 2px;

                &.is-dragover {
                    background: rgba($--color-primary, .05);
                }
            }
        }
    }
}